package com.cafe.pro.dto;

import com.cafe.pro.aop.EncryptedField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserSaveDto {
    private String name;
    private Integer age;
    private String email;
    private String keyVersion;
    @EncryptedField("encryptedPhone")
    private String phone;
    @EncryptedField("encryptedIdCard")
    private String idCard;
    private String encryptedPhone;
    private String encryptedIdCard;
}
